home *** CD-ROM | disk | FTP | other *** search
- typedef struct _WINDOW_REC {
- int x, y, w, h;
- GLenum type;
- Window wMain, wOverlay;
- XVisualInfo *vInfoMain, *vInfoOverlay;
- Colormap cMapMain, cMapOverlay;
- GLXContext cMain, cOverlay;
- } WINDOW_REC;
-
-
- extern Display *xDisplay;
- extern int xScreen;
- extern Window wRoot;
- extern WINDOW_REC w;
- extern Atom deleteWindowAtom;
-
- extern void (*ExposeFunc)(int, int);
- extern void (*ReshapeFunc)(int, int);
- extern void (*DisplayFunc)(void);
- extern GLenum (*KeyDownFunc)(int, GLenum);
- extern GLenum (*MouseDownFunc)(int, int, GLenum);
- extern GLenum (*MouseUpFunc)(int, int, GLenum);
- extern GLenum (*MouseMoveFunc)(int, int, GLenum);
- extern void (*IdleFunc)(void);
-
- extern int cursorNum;
- extern int tkLoopFlag;
-